<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>过滤器</title>
</head>
<body>
<p>{{ age|abs }}</p>
<p>{{'hello'|capitalize}}</p>
<p>{{'hello'|replace('h','x')}}        </p>
<p>{{[01,80,42,44,77]|first}}        </p>
<p>{{[01,80,42,44,77]|last}}                </p>
<p>{{[01,80,42,44,77]|count}}        </p>
<p>{{[01,80,42,44,77]|sort}}                </p>
<p>{{[01,80,42,44,77]|join(',')}}        </p>
<p>{{18.8888|round(2,'floor')}}        </p>
<p>{{18.8888|round}}</p>
<p>{{-2|abs}}</p>
</body>
</html>